const koa = require("koa");
const app = new koa();
const router = require("koa-router")();

router.get("/",async ctx=>{
    ctx.body = "hello world"
})
app.use(router.routes());
app.listen(8080);